package com.yuanfeng.business.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
 /**
 * @ClassName
 * @Description  运费模板表
 * @Author cyp
 * @Date 2023-05-29 13:55:18
 * @Version 1.0
 **/
@TableName("shop_transport_template")
@Data
public class ShopTransportTemplateEntity  implements Serializable {
    /**
     * 运费模板id
     */
    private Integer id;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 店铺ID
     */
    private Integer shopId;
    /**
     * 状态，1开启，0关闭
     */
    private Integer status;
    /**
     * 固定运费
     */
    private Double constPrice;
    /**
     * 是否包邮 0不包邮 1全国包邮 2自定义
     */
    private Integer isFreePostage;

    private Integer ruleType;
    /**
     * 满多少kg/件包邮
     */
    private Integer freePostageCond;

    private String freePostageAreas;
    /**
     * 低于包邮条件的运费
     */
    private Double shippingPrice;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
